public class TestDemo {
    public static void main(String[] args) {
        int i=1;
        while (i<=10){
            if(i==3){
                break;
            }
            System.out.println(i);
            i++;
        }
    }
}

class TestDemo1{
    public static void main(String[] args) {
        int i=1;
        while(i<=10){
            if(i==3){
                continue;
            }
            System.out.println(i);
            i++;
        }
    }
}
class TestDemo2{
    public static void main(String[] args) {
        for(int i=0;i<10;i++){
            System.out.print(i+" ");
        }
    }
}
